export interface ContractForm extends BaseEntity {

  id?: string | number;
  saleContractNum?: string;
  purchaseContractNum?: string;
  saleContractId?: string | number;
  projectName?: string;
  transportSection?: number;
  customerId?: string | number;
  customerName?: string;
  supplierId?: string | number;
  supplierName?: string;
  signDate?: string;
  signDept?: number;
  signStaffId?: string | number;
  signStaffName?: string;
  originalTotalAmount?: number;
  originalAmount?: number;
  originalTaxedAmount?: number;
  currency?: number;
  exchangeRate?: number;
  localTotalAmount?: number;
  localAmount?: number;
  localTaxedAmount?: number;
  transferTaxedAmount?: number;
  insuranceAmount?: number;
  escortAmount?: number;
  remark?: string;

}
export interface InvoiceItem {
  id?: string | number;
  saleInvoiceId?: string | number;
  purchaseInvoiceId?: string | number;
  recordDate?: string;
  saleInvoiceNum?: string;
  purchaseInvoiceNum?: string;
  voucherNum?: string;
  originalTotalAmount?: number;
  originalAmount?: number;
  originalTaxedAmount?: number;
  localTotalAmount?: number;
  localAmount?: number;
  localTaxedAmount?: number;
  currency?: number;
  exchangeRate?: number;
  remark?: string;
}
export interface InvoiceForm {
  id?: string|number;
  saleContractId?: string | number;
  saleContractNum?: string;
  purchaseContractId?: string | number;
  purchaseContractNum?: string;
  projectName?: string;
  transportSection?: number;
  customerId?: string | number;
  customerName?: string;
  supplierId?: string | number;
  supplierName?: string;
  localTotalAmount?: number;
  remark?: string;

  // 子表
  invoiceList: InvoiceItem[];
  saleInvoiceList?: InvoiceItem[];
  purchaseInvoiceList?: InvoiceItem[];

}
